Before debugging the specified target, most users wish to set breakpoints, - identified points within the target which, when reached, cause the debugger to suspend target execution offering options to the user.
Breakpoints may either be set by location, filename and line number, or by function/procedure entry point. Once the debugger has loaded the target, Programmer Studio will attempt to set these breakpoints, displaying an error message if any locations are invalid.
A breakpoint can be easily set within the Code Editor by selecting Toggle Breakpoint from the Debug menu (F9). If the current line is already set as a breakpoint, this will remove the breakpoint. It is important to ensure the line highlighted is valid, as Programmer Studio will not be able to determine this for you. Your symbolic debugger documentation will provide details of what constitutes a valid Breakpoint line.
An alternative way to set a breakpoint is through the Breakpoints dialog box. This lists all breakpoints currently set, by either file name and line number, or by function/procedure name.
To display the Breakpoints window, from the Debug menu, select Breakpoints
See Also